package com.yihu.beans;

import java.io.Serializable;
import java.util.Date;

import com.yihu.web.bean.BaseCommodity;

public class Derivatives extends BaseCommodity implements Serializable{

	/**
	 * 
	 * {"name":"正山小种","price":"111","like":4,"pv":3,"sorts":12,"isRecommend":1,"commodityStates":{"id":"2","name":"已上架"},"derivativesAuthor":{"id":"1","name":"董杰"},"derivativesCategory":{"id":"1","name":"首饰"},"widht":12,"long_":12,"unit":"cm","material":{"id":"1","name":"陶瓷"},"user":{"id":"5","name":"alpha"},"content":"22232252525","pictures":[{"height":1000,"id":"123","width":800},{"height":1000,"id":"1234","width":800}]}
	 * 
	 */
	
	private int long_ = 0 ;
	private int widht = 0 ;
	private int hight = 0 ;
	private String unit = "cm";
	private int Total = 0 ;
	private Material material;
	private Date createTime = new Date();
	private Date finishTime = new Date();
	private DerivativesAuthor derivativesAuthor;
	private DerivativesCategory derivativesCategory;
	
	private String content = "";
	private String contentId = "";
	
	public int getLong_() {
		return long_;
	}
	public void setLong_(int long_) {
		this.long_ = long_;
	}
	public int getWidht() {
		return widht;
	}
	public void setWidht(int widht) {
		this.widht = widht;
	}
	public int getHight() {
		return hight;
	}
	public void setHight(int hight) {
		this.hight = hight;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public int getTotal() {
		return Total;
	}
	public void setTotal(int total) {
		Total = total;
	}
	public Material getMaterial() {
		return material;
	}
	public void setMaterial(Material material) {
		this.material = material;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getFinishTime() {
		return finishTime;
	}
	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
	public DerivativesAuthor getDerivativesAuthor() {
		return derivativesAuthor;
	}
	public void setDerivativesAuthor(DerivativesAuthor derivativesAuthor) {
		this.derivativesAuthor = derivativesAuthor;
	}
	public DerivativesCategory getDerivativesCategory() {
		return derivativesCategory;
	}
	public void setDerivativesCategory(DerivativesCategory derivativesCategory) {
		this.derivativesCategory = derivativesCategory;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getContentId() {
		return contentId;
	}
	public void setContentId(String contentId) {
		this.contentId = contentId;
	}
}
